package com.app.lzbank.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "lzbank")
public class LZBankConfig {

    private String urlPrefix; //开发者认证的UrlPrefix
    private String appKey; //开发者认证的AppKey
    private String serverPublicKey; //开发者认证的ServerPublicKey
    private String clientPrivateKey; //开发者认证的ClientPrivateKey
    private String urlFile; //开发者认证的UrlFile

    private String appSpaceId; //收银台域ID
    private String productId; //商品ID
    private String serviceId; //服务ID
    private String partner; //测试环境：1906281561715892461 生产环境：门户获取，同开发者认证的Merch_No
    private String showUrl; //商品展示地址
    private String returnUrl; //支付成功后跳转地址
    private String notifyUrl; //支付成功后异步通知地址
}
